package com.bbva.gptf.back.util;

import java.math.BigDecimal;
import java.util.Comparator;

import com.bbva.gptf.dto.bean.Liquidez;

public class OrdenaLiquidezPorContrato implements Comparator<Liquidez> {

	@Override
	public int compare(Liquidez o1, Liquidez o2) {
		return new BigDecimal(o1.getCdContrato()).compareTo(new BigDecimal(o2.getCdContrato()));
	}

}
